package com.tool.base.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.tool.base.dao.BsStaticTypeDAO;
import com.tool.base.entity.BsStaticType;

@Component
@Transactional
public class BsStaticTypeSV {

	@Autowired
	private BsStaticTypeDAO bsStaticTypeDAO;

	public List<BsStaticType> getByCode(String code) {
		return this.bsStaticTypeDAO.getByCode(code);
	}

}